cmake_minimum_required(VERSION 3.15)

project(test_log)

set(CMAKE_CXX_STANDARD 11)

set(PATH ..)
set(EXECUTABLE_OUTPUT_PATH ${PATH})

# level模块的日志输出测试
add_executable(test_level test_level.cpp)

# log模块的level日志输出测试
add_executable(test_log_level test_log_level.cpp)

# log模块的同步日志多线程测试
add_executable(test_log_sync test_log_sync.cpp)
target_link_libraries(test_log_sync pthread)

# log阻塞队列测试
add_executable(test_log_queue test_log_queue.cpp)
target_link_libraries(test_log_queue pthread)

# log模块的异步日志多线程测试
add_executable(test_log_async test_log_async.cpp)
target_link_libraries(test_log_async pthread)
